﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Urbania.World;
using Microsoft.Xna.Framework;

namespace Urbania.Tiles
{
    public class PowerPlant : Tile
    {

        // ( imageFilename, costMoney, costBureauc, rateIncome, rateHappiness, ratePollution, rateFood )
        // 400, 5, 5, 0, 10, 0

        public void Init()
        {
            Filename = "PowerPlant";
            FrameRate = 5;
            RepeatFrameIndex = 7;
            Type = World.TileType.Buil_PowerPlant;

            CostMoney = 400;
            CostBureauc = 5;
            RateIncome = 5;
            RateHappiness = 0;
            RatePollution = 10;
            RateFood = 0;

            this.InitAnimation(FrameRate, RepeatFrameIndex);
        }

        public PowerPlant(int xIndex, int yIndex, float xPos, float yPos)
            : base(xIndex, yIndex, xPos, yPos)
        {
            Init();
        }
        public PowerPlant(Tile t)
            : base(t)
        {
            Init();
        }


        //public override void Upgrade()
        //{

        //}

    }
}
